package com.yuanqunsoft.alimigration.model;

/**
 * Alert entity. @author MyEclipse Persistence Tools
 */

public class Alert implements java.io.Serializable {

    // Fields

    private Integer alertId;
    private Report report;
    private Rule rule;
    private Module module;
    private String aleResource;
    private Integer aleLine;

    // Constructors

    /** default constructor */
    public Alert() {
    }

    /** minimal constructor */
    public Alert(Report report, Module module, String aleResource, Integer aleLine) {
        this.report = report;
        this.module = module;
        this.aleResource = aleResource;
        this.aleLine = aleLine;
    }

    /** full constructor */
    public Alert(Report report, Rule rule, Module module, String aleResource, Integer aleLine) {
        this.report = report;
        this.rule = rule;
        this.module = module;
        this.aleResource = aleResource;
        this.aleLine = aleLine;
    }

    // Property accessors

    public Integer getAlertId() {
        return this.alertId;
    }

    public void setAlertId(Integer alertId) {
        this.alertId = alertId;
    }

    public Report getReport() {
        return this.report;
    }

    public void setReport(Report report) {
        this.report = report;
    }

    public Rule getRule() {
        return this.rule;
    }

    public void setRule(Rule rule) {
        this.rule = rule;
    }

    public Module getModule() {
        return this.module;
    }

    public void setModule(Module module) {
        this.module = module;
    }

    public String getAleResource() {
        return this.aleResource;
    }

    public void setAleResource(String aleResource) {
        this.aleResource = aleResource;
    }

    public Integer getAleLine() {
        return this.aleLine;
    }

    public void setAleLine(Integer aleLine) {
        this.aleLine = aleLine;
    }

}